package com.graduation.smartparkingplatform.Service;

import com.github.pagehelper.PageInfo;
import com.graduation.smartparkingplatform.Pojo.Record;

import java.util.List;

public interface RecordService {
  // 获取停车记录列表（分页）
  public PageInfo<Record> getRecordList(Integer page, Integer count);

  // 模糊搜索停车记录（分页）
  public PageInfo<Record> searchRecord(Integer page, Integer count, String carPlate);

  // 删除停车记录
  public Boolean deleteRecord(Integer RecordId);

  // 获取所有停车记录
  public List<Record> getRecordListAll();
}
